import request from '@/utils/request'

// 查询租户组件功能点返回值列表
export function listTenantFunctionReturnValueVersion(query) {
  return request({
    url: '/business/tenantFunctionReturnValueVersion/list',
    method: 'get',
    params: query
  })
}

// 查询租户组件功能点返回值详细
export function getTenantFunctionReturnValueVersion(id) {
  return request({
    url: '/business/tenantFunctionReturnValueVersion/' + id,
    method: 'get'
  })
}

// 新增租户组件功能点返回值
export function addTenantFunctionReturnValueVersion(data) {
  return request({
    url: '/business/tenantFunctionReturnValueVersion',
    method: 'post',
    data: data
  })
}

// 修改租户组件功能点返回值
export function updateTenantFunctionReturnValueVersion(data) {
  return request({
    url: '/business/tenantFunctionReturnValueVersion',
    method: 'put',
    data: data
  })
}

// 删除租户组件功能点返回值
export function delTenantFunctionReturnValueVersion(id) {
  return request({
    url: '/business/tenantFunctionReturnValueVersion/' + id,
    method: 'delete'
  })
}
